import request from "@/utils/jhrequest";

// 查询支持的省份
export function queryProvinces(query) {
  return request({
    url: "/historyWeather/province",
    method: "get",
    params: query,
  });
}

// 查询支持的城市列表
export function queryCities(query) {
  return request({
    url: "/historyWeather/citys",
    method: "get",
    params: query,
  });
}

// 查询城市天气
export function queryWeather(query) {
  return request({
    url: "/historyWeather/weather",
    method: "get",
    params: query,
  });
}
